import { IRouterConfig } from "../types/interface";
//示例
// import {getSliceData,studentsDel} from '../pages/students/students'
import { pointData, jipoint } from '../pages/students/point'
import { getDataList, getDormitoryList, addDormitory, importDate, xgshopdata, zhirishang, xougaipingji, remove, tihuan } from "../pages/dormitory/dormitory"
// import { MenuList } from "../pages/home"
import { moneydata, pay } from '../pages/students/money'
import {
  // 教室
  class_collageData,
  class_collageDelete,
  class_collageCreate,
  class_collageEdit,
  // 班级
  class_gradeMangerData,
  class_createClass
} from '../pages/class/class'
import { getSliceData, studentsDel } from "../pages/students/students";

import {
  getLogin,
  getjwlist,
  getscblist,
  setclass,
  getcollegelist,
  addstudent,
  getkclist,
  upload,
  merge,
  getVersion,
  editVersionTitle,
  editVersionLoginRoot,
  editVersionCompanyName,
  editVersionDuration,
  getEmployeeList,
  addEmployeeList,
  importEmployeeDate,
  editEmployeeInfo,
  DelEmployee,
  getRoleList,
  addRoleList,
  diststudent,
  amendstudent,
  setisms
} from "../pages/Administrator/Administrator";
import { MenuList } from "../pages/home";
const routerConfig: IRouterConfig[] = [
  {
    url: '/moneydata',
    method: 'POST',
    callback: moneydata
  },
  {
    url: '/remove',
    method: 'GET',
    callback: remove
  },
  {
    url: '/tihuan',
    method: 'GET',
    callback: tihuan
  },
  {
    url: '/pay',
    method: 'POST',
    callback: pay
  },
  {
    url: '/xougaipingji',
    method: 'GET',
    callback: xougaipingji
  },
  {
    url: "/getSliceData",
    method: "POST",
    callback: getSliceData,
  },

  {
    url: "/getLogin",
    method: "POST",
    callback: getLogin,
  },
  {
    url: "/studentsDel",
    method: "POST",
    callback: studentsDel,
  },
  // 教室管理  数据获取
  {
    url: "/class_collage/getData",
    method: "GET",
    callback: class_collageData,
  },
  // 教室管理  点击创建教室
  {
    url: "/class_Create/collageCreate",
    method: "POST",
    callback: class_collageCreate
  },
  // 教室管理  点击编辑教室
  {
    url: "/class_Edit/collageEdit",
    method: "POST",
    callback: class_collageEdit
  },
  // 教室管理  点击删除
  {
    url: "/class_Delete/collageDelete",
    method: "POST",
    callback: class_collageDelete,
  },
  {
    url: "/getDataList",
    method: "GET",
    callback: getDataList,
  },
  {
    url: "/getDormitoryList",
    method: "GET",
    callback: getDormitoryList,
  },
  {
    url: "/getscblist",
    method: "POST",
    callback: getscblist,
  },
  {
    url: "/getcollegelist",
    method: "POST",
    callback: getcollegelist,
  },
  // 班级管理  数据获取
  {
    url: "/class_class/gradeMangerData",
    method: "GET",
    callback: class_gradeMangerData
  },
  // 班级管理  点击创建班级
  {
    url: "/class_class/createClass",
    method: "POST",
    callback: class_createClass
  },
  {
    url: "/addstudent",
    method: "POST",
    callback: addstudent,
  },
  {
    url: "/pointData",
    method: "GET",
    callback: pointData,
  },
  {
    url: "/jipoint",
    method: "POST",
    callback: jipoint,
  },
  {
    url: "/getjwlist",
    method: "POST",
    callback: getjwlist,
  },
  {
    url: '/pointData',
    method: 'POST',
    callback: pointData
  },
  {
    url: "/getkclist",
    method: "POST",
    callback: getkclist,
  },
  {
    url: "/setclass",
    method: "POST",
    callback: setclass,
  },
  {
    url: '/getjwlist',
    method: 'POST',
    callback: getjwlist
  }, {
    url: '/getkclist',
    method: 'POST',
    callback: getkclist
  }, {
    url: '/setclass',
    method: 'POST',
    callback: setclass
  },
  {
    url: '/xgshopdata',
    method: 'GET',
    callback: xgshopdata
  },
  {
    url: '/zhirishang',
    method: 'GET',
    callback: zhirishang
  },
  {
    url: "/xgshopdata",
    method: "GET",
    callback: xgshopdata,
  },
  {
    url: "/MenuList",
    method: "GET",
    callback: MenuList,
  },
  {
    url: "/addDormitory",
    method: "POST",
    callback: addDormitory,
  },
  {
    url: '/addDormitory',
    method: 'POST',
    callback: addDormitory
  },
  {
    url: "/importDate",
    method: "POST",
    callback: importDate,
  },
  {
    url: '/diststudent',
    method: 'POST',
    callback: diststudent
  }, {
    url: '/amendstudent',
    method: 'POST',
    callback: amendstudent
  },
  {
    url: '/setisms',
    method: 'POST',
    callback: setisms
  },
  {
    url: "/upload",
    method: "POST",
    callback: upload,
  },
  {
    url: "/merge",
    method: "POST",
    callback: merge,
  },
  {
    url: "/getVersion",
    method: "GET",
    callback: getVersion,
  },
  {
    url: "/editVersionTitle",
    method: "POST",
    callback: editVersionTitle,
  },
  {
    url: "/editVersionLoginRoot",
    method: "POST",
    callback: editVersionLoginRoot,
  },
  {
    url: "/editVersionCompanyName",
    method: "POST",
    callback: editVersionCompanyName,
  },
  {
    url: "/editVersionDuration",
    method: "POST",
    callback: editVersionDuration,
  },
  {
    url: '/getEmployeeList',
    method: "GET",
    callback: getEmployeeList
  },
  {
    url: '/addEmployeeList',
    method: "POST",
    callback: addEmployeeList
  },
  {
    url: '/importEmployeeDate',
    method: "POST",
    callback: importEmployeeDate
  },
  {
    url: '/editEmployeeInfo',
    method: 'POST',
    callback: editEmployeeInfo
  },
  {
    url: '/DelEmployee',
    method: "POST",
    callback: DelEmployee
  },
  {
    url: '/getRoleList',
    method: "GET",
    callback: getRoleList
  },
  {
    url: '/addRoleList',
    method: "POST",
    callback: addRoleList
  }
];
export default routerConfig;
